import request from '@/utils/request'

const BASE_URL = ''
/**
 * 档案的相关删除接口
 * @param { string } deletId
 */
// 删除企业
export function deleteEntInfo(deletId) {
	return request({
		url: `${BASE_URL}/EnterpriseLst.asmx/deleteEntInfo`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除场所-车辆
export function deleteCar(deletId) {
	return request({
		url: `${BASE_URL}/EnterpriseSiteLst.asmx/deleteCar`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除场所-场所
export function deleteAreaInfo(deletId) {
	return request({
		url: `${BASE_URL}/EnterpriseSiteLst.asmx/deleteAreaInfo`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除巡检仪
export function deletePatro(deletId) {
	return request({
		url: `${BASE_URL}/EnterprisePadLst.asmx/deletePatro`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除数采仪
export function deleteInstrument(deletId) {
	return request({
		url: `${BASE_URL}/EnterpriseDataGatheringDeviceLst.asmx/deleteInstrument`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除用源设备
export function deleteUseSourceDevice(deletId) {
	return request({
		url: `${BASE_URL}/EnterpriseSiteUseRadDeviceLst.asmx/deleteUseSourceDevice`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除设备监控因子
export function deleteDeviceMonitor(deletId) {
	return request({
		url: `${BASE_URL}/UseRadDeviceMonitorObjectLst.asmx/deleteDeviceMonitor`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除源信息
export function deleteRad(deletId) {
	return request({
		url: `${BASE_URL}/EnterpriseSiteRadLst.asmx/deleteRad`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

/**
 * 系统配置的相关删除接口
 * @param { string } deletId
 */
// 删除模板信息
export function DeleteTemplate(deletId) {
	return request({
		url: `${BASE_URL}/AlarmTemplateLst.asmx/DeleteTemplate`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除账号信息
export function deleteAccountInfo(deletId) {
	return request({
		url: `${BASE_URL}/PersonLst.asmx/deleteAccountInfo`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除异常监测
export function deleteAlarmInfoSetInfo(deletId) {
	return request({
		url: `${BASE_URL}/AlarmInfoSetLst.asmx/deleteAlarmInfoSetInfo`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除组织架构
export function deleteOrganizationInfo(deletId) {
	return request({
		url: `${BASE_URL}/EnvironmentaldepartmentLst.asmx/deleteOrganizationInfo`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除角色
export function deleteRoleInfo(deletId) {
	return request({
		url: `${BASE_URL}/PersonRoleLst.asmx/deleteRoleInfo`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

// 删除视频
export function DeleteVideo(deletId) {
	return request({
		url: `${BASE_URL}/EnterpriseVodeoLst.asmx/DeleteVideo`,
		method: 'post',
		params: {
            deletId,
        }
	})
}

